package com.ethink.warehouse.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.warehouse.api.info.MateProduceCodeInfo;
import com.ethink.warehouse.api.request.MateProduceCodeQueryRequest;
import com.ethink.warehouse.api.request.MateProduceCodeUpdateRequest;
import com.ethink.warehouse.api.request.MatePurchaseCodeQueryRequest;
import com.ethink.warehouse.api.request.MatePurchaseCodeUpdateRequest;
import com.ethink.warehouse.api.response.MateProduceCodeUpdateResponse;
import com.ethink.warehouse.api.response.MatePurchaseCodeGetDetailResponse;
import com.ethink.warehouse.api.response.MatePurchaseCodeQueryResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 库存采购批次表 Service接口
 *
 * @author default
 * @date 2022-12-16
 */
public interface MatePurchaseCodeService {

    /**
     * 分页查询
     *
     * @param request
     * @return
     */
    Page<MatePurchaseCodeQueryResponse> queryMatePurchaseCode(MatePurchaseCodeQueryRequest request);

    /**
     * 查询详情
     *
     * @param matePurchaseCodeId
     * @return
     */
    MatePurchaseCodeGetDetailResponse getMatePurchaseCodeById(Long matePurchaseCodeId);

    /**
     * 修改
     *
     * @param request
     * @return
     */
    void updateMatePurchaseCode(MatePurchaseCodeUpdateRequest request);

}